Constructive Negation in CLP(H)

نویسنده

  • Roman Barták
چکیده

Inclusion of negation into logic programs is considered traditionally to be painful as the incorporation of full logic negation tends to super-exponential time complexity of the prover. Therefore the alternative approaches to negation in logic programs are studied and among them, the procedural negation as failure sounds to be the most successful and the most widely used. However, with the spread of Constraint Logic Programming (CLP), a different approach called constructive negation becomes more popular. The reasons for acceptance of constructive negation are the preservation of the advantages of the negation as failure, i.e., efficiency and handling special features of the language, and, at the same time, while removing the main drawbacks, i.e., handling ground negative subgoals and usage as a test only. In this paper we present a constructive approach to negation in logic programs. We concentrate on implementation aspects of constructive negation here, i.e., on the design of CLP(H) system, where H is the Herbrand Universe. According to the CLP approach, we use equalities and disequalities to process unification and negation. We describe a constraint solver for solving equality and disequality constraints over the Herbrand Universe and we propose a unique filtering system to obtain relevant solutions. Finally, we combine the constraint solver with the filtering system to implement the constructive negation efficiently. The presented approach to constructive negation is justified by an implementation work.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Constructive Negation and Constraints

Inclusion of negation into logic programs is considered traditionally to be painful as the incorporation of full logic negation tends to super-exponential time complexity of the prover. Therefore the alternative approaches to negation in logic programs are studied and among them, the procedural negation as failure sounds to be the most successful and the most widely used. However, Constraint Lo...

متن کامل

Compiling Intensional Sets in CLP

Constructive negation has been proved to be a valid alternative to negation as failure, especially when negation is required to have, in a sense, an ‘active’ role. In this paper we analyze an extension of the original constructive negation in order to gracefully integrate with the management of set-constraints in the context of a Constraint Logic Programming Language dealing with finite sets. W...

متن کامل

Negation and Constraint Logic Programming

Almost all constraint logic programming systems include negation, yet nowhere has a sound operational model for negation in CLP been discussed. The SLDNF approach of only allowing ground negative subgoals to execute is very restrictive in constraint logic programming where most variables appearing in a derivation never become ground. By describing a scheme for constructive negation in constrain...

متن کامل

Compilative Constructive Negation in Constraint Logic Programs

In this paper we deene a new compilative version of constructive negation (intensional negation) in CLP and we prove its (non-ground) correctness and completeness wrt the 3-valued completion. We show that intensional negation is essentially equivalent to constructive negation and that it is indeed more eecient, as one would expect from the fact that it is a compilative technique, with the trans...

متن کامل

On the Semantics of Optimization Predicates in CLP languages

The Constraint Logic Programming systems which have been implemented include various higher-order predicates for optimization. are implemented by using branch and bound algorithms. In CLP(R) systems, the Simplex algorithm used for satissability checks can also be used for linear optimization through the predicate rmin(f(X)) which adds to the constraints on X the ones deening the space where the...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 1998